package com.itheima.dao;

import com.itheima.domain.Order;

import java.util.List;
import java.util.Map;

public interface OrderDao {

    List<Order> findByCondition(Order order);

    void add(Order order);

    Map findById4Detail(Integer id);

    //在订单表中查找套餐名和它对应的数量
    List<Map<String, Object>> findSetMealNameAndCount();
}
